From: Sundeep Mediratta Date: Wed, 6 Nov 2024 02:52:53 +0000 (-0500) Subject: status/volume: Show OSD volume slider on plugging unplugging headphones X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~173^2^2~174 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=69bb44563dcb611be3d64d2c2ac59d249bc4fa93;p=gnome-shell.git status/volume: Show OSD volume slider on plugging unplugging headphones OSD Volume popup appears when a user connects or disconnects earphones/headphones/headsets. Shows and warns the user that the volume may be set to high or low when headphones are connected or disconnected. This is a nice bit of feedback to the user that something has changed, and something that other platforms do. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7931 Part-of: --- diff --git a/js/ui/status/volume.js b/js/ui/status/volume.js index 330476358..7e5032607 100644 --- a/js/ui/status/volume.js +++ b/js/ui/status/volume.js @@ -346,6 +346,7 @@ class OutputStreamSlider extends StreamSlider { this._hasHeadphones = hasHeadphones; this._updateIcon(); + this.showOSD(); } _updateIcon() {